package org.jeecg.modules.xm.service;

import org.jeecg.modules.xm.entity.XmItem02;
import org.jeecg.modules.xm.entity.XmItem01;
import org.jeecg.modules.xm.entity.XmMain01;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.beans.factory.annotation.Autowired;
import java.io.Serializable;
import java.util.Collection;
import java.util.List;

/**
 * @Description: xm_main_01
 * @Author: zhaodui
 * @Date:   2020-03-14
 * @Version: V1.0
 */
public interface IXmMain01Service extends IService<XmMain01> {

	/**
	 * 删除一对多
	 */
	public void delMain(String id);
	
	/**
	 * 批量删除一对多
	 */
	public void delBatchMain(Collection<? extends Serializable> idList);

	public void updateMain(XmMain01 xmMain01,List<XmItem02> xmItem02List,List<XmItem01> xmItem01List);


}
